package students_files_test01;

public class CoffeeBrewer extends Product{
    private String model;
    private String waterSupply;
    private int numberOfCups;


    public CoffeeBrewer(String initialCode, String initialDescription, Double initialPrice,String initialModel,String initialWaterSupply,int initialNumberOfCups) {
        super(initialCode, initialDescription, initialPrice);
        this.model = initialModel;
        this.waterSupply = initialWaterSupply;
        this.numberOfCups = initialNumberOfCups;
    }

    public String getModel() {
        return model;
    }

    public String getWaterSupply() {
        return waterSupply;
    }

    public int getNumberOfCups() {
        return numberOfCups;
    }

    public String toString(){
        return this.getCode() + "_" + this.getDescription() + "_" + this.getPrice() + "_" + this.model + "_" + this.waterSupply + "_" + this.numberOfCups;
    }

}
